<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<!-- saved from url=(0046)http://www.xiami.com/space/following/u/2121750 -->
<html lang="zh-CN"><!--<![endif]--><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>我的音乐</title>
		<link href="http://st.xiami.com/??res/v3/css/global.css,res/v3/css/login.css,res/css/default/basic.css,res/css/default/moduler.css,res/css/default/space2010.css?20120218" rel="stylesheet" media="all">
		<link href="http://www.xiami.com/res/v3/css/more_pages.css" media="screen" rel="stylesheet">

	<link href="images/icon.gif" type="image/x-icon" rel="shortcut icon">
	<link href="http://img.xiami.com/res/img/common/ipad/xiami_logo_apple.png" rel="apple-touch-icon">
	<link href="http://www.xiami.com/opensearch.xml" type="application/opensearchdescription+xml" rel="search" title="Xiami Search">
	<link rel="alternate" type="application/atom+xml" title="享乐每日精选" href="http://www.xiami.com/collect/feed">
	<!--[if lte IE 8]>
	<link href="http://st.xiami.com/res/v3/css/login_iefix.css?ver=2010122901" rel="stylesheet" media="all" />
	<![endif]-->
		<script type="text/javascript" async="" src="./following_files/ga.js"></script><script type="text/javascript" src="./following_files/saved_resource"></script>
	<script type="text/javascript" src="./following_files/jquery.email-min.js"></script>
	<script src="./js/jquery-1.7.2.min.js" type="text/javascript">
</script>
	
	

<script type="text/javascript">
function searchBlur(who){
	if(who.value == ''){
		who.value = '搜索你想听的音乐....';
		who.parentNode.className = '';
	}
}
function searchFocus(who){
	if(who.value == '搜索你想听的音乐....'){
		who.value = '';
		who.parentNode.className = 'highlight';
	}
}

function fan(now) {
	$.ajax( {
		url : "next!musics.action",
		type : "POST",
		data : {
			pageNow : now
		},
		dataType : "json",
		success : function(data) {
			var pageNow = data.page.pageNow;
			var hasPre = data.page.hasPre;
			var hasNext = data.page.hasNext;

			
			$("#total_size").html(data.page.totalSize + "首歌曲");
			
			$("#user_list").html("");
			$.each(data.recentUploadMusic, function(index, value) {
				$("#user_list").append(
						"<li><div class='user_img'><a href='/ShareMusicProject/music.action?id=" + value.sourceId +"'><img width=\"50px\" height=\"50px\" src='"+ value.sourceImage + "' /></a></div>" +
	                    "<div class='user_info'><a href='/ShareMusicProject/music.action?id=" + value.sourceId +"'>" + value.sourceName + "</a><p>推荐说明：" + value.targetImage + "</p></li>");
			});
		
			$("#all_page").html("");
			$.each(data.page.index, function(index, value) {
				if (value == pageNow) {
					$("#all_page").append(
							"<a class='p_num p_curpage' href='javascript:fan(" + value + ");'>" + value + "</a>");
				} else {
					$("#all_page").append(
							"<a class='p_num' href='javascript:fan(" + value + ");'>" + value + "</a>");
				}
			});
			if (hasNext == 1) {
				$("#all_page").append(
						"<a class='p_redirect_l' href='javascript:fan(" + (pageNow + 1) + ");'>下一页</a>");
			}
		}
	});
}
$(document).ready(fan(1));
</script>

	
		
<link rel="stylesheet" type="text/css" href="chrome-extension://lfjamigppmepikjlacjdpgjaiojdjhoj/css/menu.css"></head>
<body style="background: url(http://img.xiami.com/res/img/default/mbg.jpg) top repeat-x white;">
<div id="hidden_obj">
		<embed src="/res/player/sdtos.swf" width="1" height="1" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent" name="trans">
	</div>
<div id="xiami-content"><h1>上传的歌曲</h1></div>



<div id="n_header" style="background-image: none;"> 
	<div id="n_header_line" style="border-bottom:0px;">
	<div class="n_header_inner">
		<a href="/ShareMusicProject/">
			<img title="享受音乐  享受快乐"  alt="" src="images/xiang-4.gif" width="102" height="42" style="float: left;padding-top:3px;">
			</a>

			<form action="search" method="post" role="search" id="search_box" class="">
			<input type="text" autocomplete="off" id="search_query" name="title" value="搜索你想听的音乐...." title="搜索你想听的音乐...." onblur="searchBlur(this);" onclick="searchFocus(this);">
			<input type="submit" id="search_btn" class="" title="搜索" value="">
			</form>
			<ul  style="margin:10px 0 0 10px;list-style:none;float:left;font-size:14px;">
			    <li style="float: left;padding-left:20px;"><a style="color:black;font-weight:bold;Text-decoration:none;" title="首页" href="/ShareMusicProject/">首页</a></li>
				<li style="float: left;padding-left:20px;"><a style="color:black;font-weight:bold;Text-decoration:none;" title="发现音乐" href="/ShareMusicProject/allFind.jsp">发现音乐</a></li>
				<li style="float: left; padding-left:20px;"><a style="color:black;font-weight:bold;Text-decoration:none;"  title="分享音乐" href="/ShareMusicProject/findMusic.jsp">分享音乐</a></li>
			</ul>
			<div id="auto_complete" class="old hidden"></div>
						<div id="xUser_info">
			<s:if test="%{#session.user==null}">
				        		<div class="xUser_unlog" style="right: 22px;position: absolute;margin-top: 10px;">
        			<span class="log_orginal"><a href="./register.jsp" >免费注册</a><em>-</em><a href="./login.jsp" ><strong>登录</strong></a></span>
        		</div>

			</s:if>
			<s:else>
				<div class="xUser_logged" style="right: 3px;position: absolute;width:155px;">
		          <ul class="xUser_tabs clearfix">
		            <li><a class="uico_lbry"  href="./my_music.jsp" title="我的音乐库"><i>我的音乐库</i></a></li>
		            <li><a class="uico_collect"  href="http://www.xiami.com/space/collect/u/2121750" title="我的精选集"><i>我的精选集</i></a></li>
		            <li><a class="uico_home"  href="/ShareMusicProject/home.action?id=${session.user.id}" title="我的个人主页(paramiao)"><img class="r3px" src="./allList_files/usr50.gif" width="16" height="16" alt="我的个人主页"></a></li>
		            <li class="u_more PxRlt"><a class="uico_more"  href="javascript:;" title="更多"><i>更多</i></a>
		              <div class="more_drop hidden">
		                <div class="more_dropInn"><a  href="logOut();">登出</a></div>
		              </div>
		            </li>
		          </ul>
		        </div>
			</s:else>
							</div>
		</div>
	</div>
	<img src="images/ban.gif" style="background-repeat: repeat-x;height:4px; width:1500px;"/>
	
	<!--shine-->
	
</div>
 
 
 <div id="p-nowrap" class="personal_bg_v1">
	<div id="column695">
		<div class="c695_title">
			<div class="c695_title">
			<div class="buddy50"> <a class="buddy personal_iconX personalDropDown" href="/ShareMusicProject/home?id=${session.user.id}" title="${session.user.nickname}"><img src="${session.user.avatar}" width="50" height="50" alt=""></a>
				<div class="infos">
				        <h1>我上传的音乐</h1>
		                <p><a href="/ShareMusicProject/home?id=${session.user.id}" title="">我的主页</a></p>
				</div>
			</div>
			<!--<div class="radio"> <a class="play_radio" href="#" title=""><span>播放paramiao电台</span></a> </div>
-->
</div>

<script>
$(document).ready(function(){
	$('.showmore .more').mouseover(function(){
		$(this).next().show()
	}).next().bind('mouseleave',function(){
		$(this).hide();
	});
});
</script>
		</div>
		<div class="c695_main clearfix">
			<div class="c695_left">
				<!--toolbar-->
				<div class="c695_l_toolbar clearfix profile_contacts"> <span id="total_size" class="counts"></span> 
			
					
					<script>
					$("input[name=key]").click(function() {
						$(this).val("").removeClass("grey").unbind("click");
					});
					</script>
					
								
				
				</div>
				<!--content-->
				<div class="c695_l_content">
					<div class="common_sec3 pool10 blank10">
						
<style type="text/css">
.user_relative a.text {background: none repeat scroll 0 0 transparent;display: none;height: auto;margin: 10px 0 0;text-align: center;}
.user_list li.active a.text {display: block;}
.user_relative a.text {background: none;display: none;height: auto;margin: 10px 0px 0px;text-align: center;}
</style>


<ul id="user_list" class="clearfix user_list">
		
	</ul>




 					</div>
					<div id="all_page" class="all_page"></div>
				</div>
			</div>
			<!--c265_sid-->
		</div>
	</div>
</div>

<div id="footer">
		<div id="foot_wrap" class="clearfix">
		<p class="fl vam gray" id="follow_xiami">关注享乐： 
		
		<a href="javascript:;" title="新浪微博" rel="nofollow"><i class="social_gray sina"></i></a>
		<a href="javascript:;" title="人人网" rel="nofollow"><i class="social_gray renren"></i></a>
		<a href="javascript:;" title="QQ 空间" rel="nofollow"><i class="social_gray qzone"></i></a>
		<a href="javascript:;" title="腾讯微博" rel="nofollow"><i class="social_gray qqt"></i></a>
		<a href="javascript:;" title="搜狐微博" rel="nofollow"><i class="social_gray sohu"></i></a>
		<a href="javascript:;" title="豆瓣" rel="nofollow"><i class="social_gray douban"></i></a>
		<!-- <a href="http://t.163.com/musicxiami" title="网易微博" rel="nofollow"><i class="social_gray t163"></i></a> -->

		</p>
		<p id="copyright" class="fr" style="margin-left: 10px;">
		<img src="images/bottom.gif"/>
		<p style="float: right;">©2012 <a href="/ShareMusicProject/">享乐网</a></p>
		</p>
	</div> <!-- #foot_wrap -->

	
</body></html>